/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.takegoods.entity;

import java.util.Date;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 提货商品Entity
 * @author w
 * @version 2021-03-26
 */
public class TakeGoods extends DataEntity<TakeGoods> {
	
	private static final long serialVersionUID = 1L;
	private String goodsName;		// 商品名称
	private String goodsPic;		// 主图
	private String goodsImgs;		// 详情图
	private Double goodsPrice;		// 价格
	private Date beginUpdateDate;		// 开始 update_date
	private Date endUpdateDate;		// 结束 update_date
	private Integer stock;			//库存
	private String deliveryMethod;	//发货方式
	
	public TakeGoods() {
		super();
	}

	public TakeGoods(String id){
		super(id);
	}

	@ExcelField(title="商品名称", align=2, sort=1)
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	
	@ExcelField(title="主图", align=2, sort=2)
	public String getGoodsPic() {
		return goodsPic;
	}

	public void setGoodsPic(String goodsPic) {
		this.goodsPic = goodsPic;
	}
	
	@ExcelField(title="详情图", align=2, sort=3)
	public String getGoodsImgs() {
		return goodsImgs;
	}

	public void setGoodsImgs(String goodsImgs) {
		this.goodsImgs = goodsImgs;
	}
	
	@ExcelField(title="价格", align=2, sort=4)
	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	
	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}
	
	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	@ExcelField(title="库存", align=2, sort=4)
	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	@ExcelField(title="发货方式", dictType = "take_delivery", align=2, sort=5)
	public String getDeliveryMethod() {
		return deliveryMethod;
	}

	public void setDeliveryMethod(String deliveryMethod) {
		this.deliveryMethod = deliveryMethod;
	}
}